


import {Injectable} from "@angular/core";


Injectable()

export class LoginService{

    constructor(){

    }
    login(){
        let data = {
            success:true,
            msg:'查询成功',
            data:{
                id: 1,
                username: '布河蟹',
                usericon: 'assets/img/special02.JPG',
                phone: '18801229513',
                description: '有图有真相，一本正经的胡说八道。',
                isLogin:true
            }
        };
        return new Promise((resolve) =>{
            resolve(data);
        })
    }

}